import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.jsx'
import { BrowserRouter as Router } from "react-router-dom"
import "./utils/indexCss"
import { Provider } from 'react-redux';
import { store, persistor } from "./store/index"
import { PersistGate } from 'redux-persist/integration/react';

createRoot(document.getElementById('root')).render(
  // <StrictMode>
  <Router>
    <Provider store={store}>
      <PersistGate loading={null} persistor={persistor}>
        <App />
      </PersistGate>
    </Provider>
  </Router>
  // </StrictMode>,
)
